package com.liusr.template.exception;

/**
 * @author Liusr
 * @date 2023/1/23
 * @package com.liusr.template.exception
 * @Description: Token错误异常
 */
public class TokenErrorException extends RuntimeException{
	private static final long serialVersionUID = 1L;

	private final String message;

	public TokenErrorException(String message) {
		this.message = message;
	}

	public TokenErrorException(String message, Throwable e) {
		super(message, e);
		this.message = message;
	}

	@Override
	public String getMessage() {
		return message;
	}
}
